package com.zbkj.crmeb.store.model.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.metadata.BaseRowModel;
import com.constants.Constants;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * TODO
 *
 * @author eleven
 * @date 2021/7/17
 */
@Data
public class UserInfoExcelModel extends BaseRowModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @ExcelProperty(value = "会员卡号", index = 0)
    private String userNo;

    @ExcelProperty(value = "姓名", index = 1)
    private String realName;

    @ExcelProperty(value = "上级卡号", index = 2)
    private String parentUserNo;

    @ExcelProperty(value = "上级姓名", index = 3)
    private String parentUserName;

    @ExcelProperty(value = "归属店铺", index = 4)
    private String shopName;

    //@DateTimeFormat(Constants.DATE_FORMAT_START)
    @ExcelProperty(value = "办卡时间", index = 5)
    private String markTime;

    @ExcelProperty(value = "手机号码", index = 6)
    private String phone;

    @ExcelProperty(value = "身份证号码", index = 7)
    private String cardId;

    @ExcelProperty(value = "类别", index = 8)
    private String account;
}
